package com.esteel.settlement.pa.packet;

import java.io.InputStream;

import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlElement;

import org.hibernate.validator.constraints.Length;

/**
 * 出金 公共字段
 * @author zhangxiuzhi
 *
 */
@XmlAccessorType(XmlAccessType.FIELD)
public abstract class OutMoney extends PaPacket {
	
	//交易网名称
	@XmlElement(name = "TranWebName")
	@Length(max=120)
	private String tranWebName;

	//交易网会员代码
	@XmlElement(name = "ThirdCustId")
	@Length(max=32)
	private String thirdCustId;
	
	//子账户账号
	@XmlElement(name = "CustAcctId")
	@Length(max=32)
	private String custAcctId;
	
	//会员名称
	@XmlElement(name = "CustName")
	@Length(max=120)
	private String custName;

	//资金汇总账号
	@XmlElement(name = "SupAcctId")
	@Length(max=32)
	private String supAcctId;
	
	//出金账号
	@XmlElement(name = "OutAcctId")
	@Length(max=32)
	private String outAcctId;
	
	//出金账户名称
	@XmlElement(name = "OutAcctIdName")
	@Length(max=120)
	private String outAcctIdName;
	
	//币种
	@XmlElement(name = "CcyCode")
	@Length(max=3)
	private String ccyCode;
	
	//出金金额
	@XmlElement(name = "TranAmount")
	private double tranAmount;
	
	//支付转账手续费的子账户
	@XmlElement(name = "FeeOutCustId")
	@Length(max=32)
	private String feeOutCustId;

	public String getTranWebName() {
		return tranWebName;
	}

	public void setTranWebName(String tranWebName) {
		this.tranWebName = tranWebName;
	}

	public String getThirdCustId() {
		return thirdCustId;
	}

	public void setThirdCustId(String thirdCustId) {
		this.thirdCustId = thirdCustId;
	}

	public String getCustAcctId() {
		return custAcctId;
	}

	public void setCustAcctId(String custAcctId) {
		this.custAcctId = custAcctId;
	}

	public String getCustName() {
		return custName;
	}

	public void setCustName(String custName) {
		this.custName = custName;
	}

	public String getSupAcctId() {
		return supAcctId;
	}

	public void setSupAcctId(String supAcctId) {
		this.supAcctId = supAcctId;
	}

	public String getOutAcctId() {
		return outAcctId;
	}

	public void setOutAcctId(String outAcctId) {
		this.outAcctId = outAcctId;
	}

	public String getOutAcctIdName() {
		return outAcctIdName;
	}

	public void setOutAcctIdName(String outAcctIdName) {
		this.outAcctIdName = outAcctIdName;
	}

	public String getCcyCode() {
		return ccyCode;
	}

	public void setCcyCode(String ccyCode) {
		this.ccyCode = ccyCode;
	}

	public double getTranAmount() {
		return tranAmount;
	}

	public void setTranAmount(double tranAmount) {
		this.tranAmount = tranAmount;
	}

	public String getFeeOutCustId() {
		return feeOutCustId;
	}

	public void setFeeOutCustId(String feeOutCustId) {
		this.feeOutCustId = feeOutCustId;
	}


	
}
